@charset "UTF-8";
/*第二页*/
.second {
  overflow: hidden;
  .fp-tableCell {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 20px;
    background-image: url('../images/second-bg1.jpg');
    background-size: 100% 100%;
    div.secondBg {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: -999;
    }
    //版心
    div.w {
      height: 100%;
      //project导航
      .nav {
        width: 100%;
        height: 4rem;
        margin-top: 2rem;
        border-top: 1px solid #e0e0e0;
        a.myProject {
          display: inline-block;
          font-size: 50px;
          color: white;
          line-height: 3rem;
          padding: 5px 10px;
          background-color: rgb(0, 65, 0);
          border-radius: 10px;
          margin-top: 0.5rem;
        }
        @media (max-width: 768px) {
          a.myProject {
            display: none;
          }
        }
        ul.title {
          margin-right: 1%;
          padding: 15px 0;
          float: right;
          @media (max-width: 768px) {
            width: 100%;
          }
          li {
            padding: 6px 5px;
            margin-left: 0.7rem;
            border-radius: 14px;
            a {
              display: inline-block;
              font-size: 26px;
              color: rgb(15, 81, 35);
              line-height: 2rem;
            }
            @media (max-width: 768px) {
              a {
                font-size: 14px;
                color: rgb(255, 255, 255);
              }
            }
          }
          .nowProjectNav {
            background-color: rgb(15, 81, 35);
            a {
              font-size: 26px;
              color: white;
            }
          }
          @media (max-width: 768px) {
            .nowProjectNav {
              a {
                font-size: 14px;
              }
            }
          }
        }
        @media (max-width: 768px) {
          ul.title {
            width: 105%;
          }
        }
      }
      @media (max-width: 768px) {
        .nav {
          border-top: 0;
          margin-top: 10px;
        }
      }
      //project内容部分
      ul.content {
        width: 100%;
        height: 70%;
        margin: 50px auto 0;
        padding-right: 6rem;
        li {
          width: 33.333%;
          height: 50%;
          float: left;
          padding: 1rem 50px;
          transition: all 0.8s linear;
        }
        li:nth-child(1),li:nth-child(4){
          transform: translateX(-100%);
        }
        li:nth-child(2){
          transform: translateY(-200%);
        }
        li:nth-child(5){
          transform: translateY(100%);
        }
        li:nth-child(3),li:nth-child(6){
          transform: translateX(100%);
        }
        @media (max-width: 768px) {
          li {
            padding: 5px;
            width: 50%;
            height: 33.333%;
          }
          li:nth-child(1),li:nth-child(2){
            transform: translateY(-100%);
          }
          li:nth-child(3){
            transform: translateX(-100%);
          }
          li:nth-child(4){
            transform: translateX(100%);
          }
          li:nth-child(5),li:nth-child(6){
            transform: translateY(100%);
          }
        }
        li > div {
          display: block;
          width: 100%;
          height: 100%;
          position: relative;
          div:last-child {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(84, 52, 35, 1);
            border-radius: 14px;
            display: none;
            a {
              display: inline-block;
              width: 100%;
              height: 100%;
              line-height: 80px;
              font-size: 40px;
              color: yellow;
              text-align: center;
              padding: 10px;
              .iconfont{
                font-size: 40px;
              }
            }
            @media (max-width:768px) {
              a{
                font-size: 20px;
                line-height: 40px;
                .iconfont{
                  font-size: 30px;
                }
              }
            }
          }
        }
        li > div > div:first-child {
          height: 100%;
          background-size: 100% 100%;
        }
        .li1 > div > div:first-child {
          background-image: url('../images/second-header1.jpg');
          border-radius: 14px;
        }
        .li2 > div > div:first-child {
          border-radius: 14px;
          background-image: url('../images/second-header2.jpg');
        }
        .li3 > div > div:first-child {
          border-radius: 14px;
          background-image: url('../images/second-header3.jpg');
        }
        .li4 > div > div:first-child {
          border-radius: 14px;
          background-image: url('../images/second-header4.jpg');
        }
        .li5 > div > div:first-child {
          border-radius: 14px;
          background-image: url('../images/second-header5.jpg');
        }
        .li6 > div > div:first-child {
          border-radius: 14px;
          background-image: url('../images/second-header6.jpg');
        }
      }
      @media (max-width: 768px) {
        ul.content{
          padding-right: 0;
        }
      }
    }
  }
  @media (max-width: 768px) {
    .fp-tableCell {
      background-image: url("../images/second-miblebg.jpeg");
    }
  }
}

/*第二页项目移动动画*/
div.second.section.current {
  #project-li1, #project-li2, #project-li3, #project-li4,
  #project-li5, #project-li6 {
    transform: none;
  }
}